package com.cucn.ingmall.order.to;

import com.cucn.ingmall.order.entity.OrderEntity;
import com.cucn.ingmall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 创建的订单数据
 *
 * @author KouChaoJie
 * @since: 2022/1/21 11:58
 */
@Data
public class OrderCreateTO {
    /**
     * 订单基础信息
     */
    private OrderEntity order;
    /**
     * 订单项集合
     */
    private List<OrderItemEntity> orderItems;
    /**
     * 订单的应付价格
     */
    private BigDecimal payPrice;
    /**
     * 运费
     */
    private BigDecimal fare;
}
